converting a value
Hello to all
I need a solution for converting a value e.g. :
Program deliveres 1 meter and Report1 should show 1000 millimeter
Report2 should show 100cm
Problem is that I can't use the program to do the conversion.
If possible please give me an example in C++ script code
(I'm using FastReport 4.0 std in C-Builder 10)
Thanks in advance.
I need a solution for converting a value e.g. :
Program deliveres 1 meter and Report1 should show 1000 millimeter
Report2 should show 100cm
Problem is that I can't use the program to do the conversion.
If possible please give me an example in C++ script code
(I'm using FastReport 4.0 std in C-Builder 10)
Thanks in advance.
Comments
Where my query was from FR compiled demo:
select custno, itemstotal from orders where custno <= 1300 order by custno
And final result is below.
Mick
Yes it is. [img]style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" /> Here's the C++ code:[/img]
This adds 1 to the value from the dataset.
Thanks for help